package org.jeecg.modules.oa.service;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.jeecg.modules.oa.entity.OaReportWeek;
import com.baomidou.mybatisplus.extension.service.IService;
import java.util.Date;
import java.util.List;

/**
 * @Description: 周报表
 * @Author: jeecg-boot
 * @Date:   2019-09-17
 * @Version: V1.0
 */
public interface IOaReportWeekService extends IService<OaReportWeek> {


    OaReportWeek findByUserNo (OaReportWeek oaReportWeek);

    Page<OaReportWeek> find(Page<OaReportWeek> page, OaReportWeek oaReportWeek,String departIds);

    Page<OaReportWeek> findSelfList(Page<OaReportWeek> page, OaReportWeek oaReportWeek);

    OaReportWeek processData(OaReportWeek reportWeek2,String userId);

    List<OaReportWeek> findAllListToOutSource(OaReportWeek reportWeek);

    OaReportWeek getReportWeekById(String topicId);

    OaReportWeek findByCreateBYAndNew(String id, Date date);

    void editReportWeek(OaReportWeek reportWeek);

    void saveReportWeek(OaReportWeek reportWeek);
}
